package com.ki.rent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Booking对象", description="")
public class Booking implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "预约编号")
    @TableId(value = "booking_id", type = IdType.AUTO)
    private Integer bookingId;

    @ApiModelProperty(value = "预约房子id")
    private Integer houseId;

    @ApiModelProperty(value = "预约人id")
    private Integer userId;

    @ApiModelProperty(value = "预留电话")
    private String tel;

    @ApiModelProperty(value = "留言")
    private String msg;

    @ApiModelProperty(value = "看房时间")
    private Date time;


}
